|
![](/i/fill.gif) |
"GMC" <gmc### [at] speakeasy net> wrote in message news:3dd341e3@news.povray.org...
<snip>
Here's the simplest scene I could come up with that uses both media and photons,
but you're right - a good tutorial would be an asset.
#version 3.5;
#include "colors.inc"
#include "textures.inc"
global_settings {
assumed_gamma 1.0
photons {
spacing 0.01 // larger = worse
}
}
camera {
location <0.0, 10, -20.0>
look_at <0.0, 0, 0.0>
}
light_source {
0*x
color rgb <1,1,1>
spotlight
translate <40, 80,0>
point_at <0, 0, 0>
radius 1
falloff 2
}
media {scattering{1, rgb 0.1} method 3}
plane{y,0 pigment{Gray}} // this object won't affect photons, but will show them
cylinder{<2,5,0>,<2.1,5,0>,1
texture{pigment{White} finish{Mirror}}
photons{ // this object will affect photons
target
refraction on
reflection on
}
}
Post a reply to this message
|
![](/i/fill.gif) |